<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"
	   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- tplEpgList -->
	<head>
		<meta content="text/html; charset=UTF-8" http-equiv="content-type">
		<title>Enigma2 WebControl - EPG</title>

		<link href="/web-data/tpl/default/style.min.css" type="text/css" rel="stylesheet">
		<script type="text/javascript" src="/web-data/lib/prototype.js"></script>
	</head>
	<body style="scrollbar: auto; color: #485052;">
		<table style="width: 100%">
			<tr>
				<td>
					{for e in epg}
					<table 	class="epgListItem" width="100%" border="0" cellspacing="1" cellpadding="0"
							data-servicereference="${e.servicereference}"
							data-servicename="${e.servicename}"
							data-eventid="${e.eventid}"
							data-start="${e.start}"
							data-end=${e.end}
							data-title="${e.title}"
							data-description="${e.description}">

						<tr style="background-color: #DDDDDD;">
							<td width="10%">${e.date}</td>
							<td width="30%">${e.servicename}</td>
							<td>${e.title}</td>
						</tr>

						<tr style="background-color: #DDDDDD;">
							<td>${e.starttime}</td>
							<td>${e.duration} min.</td>
							<td>${e.description}</td>
						</tr>

						<tr style="background-color: #DDDDDD;">
							<td valign="top">${e.endtime}</td>
							<td colspan="2"rowspan="2" id="extdescription${e.number}">${e.extdescription}</td>
						</tr>

						<tr style="background-color: #DDDDDD;">
							<td>
								<a href="#" class="eListAddTimer"><img src="/web-data/img/clock.png" title="${strings.add_timer}" onClick="return false;" border="0"></a>&nbsp;&nbsp;
								<a href="#" class="eListZapTimer"><img src="/web-data/img/clock_play.png" title="${strings.add_zap_timer}" onClick="return false;" border="0"></a>&nbsp;&nbsp;
								<a href="#" class="eListEditTimer"><img src="/web-data/img/clock_edit.png" title="${strings.edit_timer}" onClick="return false;" border="0"></a><br/><br/>
								<a target="_blank" href="/web/epgsearch.rss?search=${e.title}" ><img src="/web-data/img/feed.png" title="RSS-Feed" border="0"></a>&nbsp;
								<a target="_blank" href="http://www.imdb.com/find?s=all&amp;q=${e.titleESC}" ><img src="/web-data/img/imdb.png" title="${strings.imdb_lookup}" border="0"></a><br/>
							</td>
						</tr>
						<tr>
							<td colspan="3">&nbsp;</td>
						</tr>
					</table>
					{forelse}
						<h1 style="color: white;">${strings.nothing_found}</h1>
					{/for}
				</td>
			</tr>
		</table>
	</body>
<!-- /tplEpgList -->
</html>
